curl --request GET \
--url http:///%7B{baseurl}%7D/api/v1/management/contacts \
--header 'x-api-key: <x-api-key>'
{
"data": [
{
"createdAt": "2024-12-11T08:59:37.550Z",
"environmentId": "cm37a748d0001hbwhqvvuba23",
"id": "cm4jnsxcd012fh3aqz1b6zox6",
"updatedAt": "2024-12-11T08:59:37.550Z",
"userId": null
},
{
"createdAt": "2024-12-12T12:09:46.859Z",
"environmentId": "cm37a748d0001hbwhqvvuba23",
"id": "cm4la1bhn12g5cr5qh8p6v874",
"updatedAt": "2024-12-12T12:09:46.859Z",
"userId": null
}
]
}
Retrieve a list of all contacts for the current environment
curl --request GET \
--url http:///%7B{baseurl}%7D/api/v1/management/contacts \
--header 'x-api-key: <x-api-key>'
{
"data": [
{
"createdAt": "2024-12-11T08:59:37.550Z",
"environmentId": "cm37a748d0001hbwhqvvuba23",
"id": "cm4jnsxcd012fh3aqz1b6zox6",
"updatedAt": "2024-12-11T08:59:37.550Z",
"userId": null
},
{
"createdAt": "2024-12-12T12:09:46.859Z",
"environmentId": "cm37a748d0001hbwhqvvuba23",
"id": "cm4la1bhn12g5cr5qh8p6v874",
"updatedAt": "2024-12-12T12:09:46.859Z",
"userId": null
}
]
}
OK
The response is of type object
.
Was this page helpful?